#include "Option.h"

COption::COption(void)
{
	Init();
}

COption::~COption(void)
{
}
void COption::Init()
{
	
}
void COption::Render()
{
	gd3dDevice->Clear(0, 0, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, D3DCOLOR_XRGB(255, 127, 255), 1.0f, 0);

}
void COption::Update(float dt)
{
	DirectInput::GetInstance()->poll();	
	if(DirectInput::GetInstance()->keyDown(DIK_ESCAPE))
		StateManagement::GetInstance()->SwitchState(new CMainMenuState());
}
